.flex {
  display: flex;
  align-items: center;
}

.flexOnly {
  display: flex;
}

.flex_1 {
  flex: 1;
}

.flex_center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex_column_center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.flex_just_center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex_just_start {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.flex_just_end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.flex_sb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.flex_sb_notalign {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.flex_sb_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.flex_end {
  display: flex;
  justify-content: flex-end;
}

.flex_wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.flex_wrap_reverse {
  display: flex;
  align-items: center;
  flex-wrap: wrap-reverse;
}

.flex_wrap_nowrap {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.text_center {
  display: block;
  width: 100%;
  text-align: center;
}

.text_left {
  display: block;
  text-align: left;
}

.text_right {
  display: block;
  text-align: right;
}

.check_box {
  margin-left: 4px;
  padding-top: 4px;
}

.cursor_pointer {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.flex_column_reverse {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column-reverse;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.block {
  display: block;
}

.inline {
  display: inline-block;
}

.text_red {
  color: #f56c6c;
}

.text_green {
  color: #71c647;
}

.text_grey {
  color: #71c647;
}

// 表格头部样式
.table_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;

  .title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: rgba(0, 0, 0, 0.88);
    font-weight: 500;
    font-size: 14px;
  }
}

// 表格尾部样式
.table_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;

  .title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: rgba(0, 0, 0, 0.88);
    font-weight: 500;
    font-size: 14px;
  }
}

// 同步数据中台
:deep() {
  .el-form-item__label {
    font-size: 12px;
  }

  .el-form-item__label {
    font-size: 12px;
  }

  .el-tabs__item {
    font-size: 12px;
  }

  .el-button > span {
    font-size: 12px;
  }

  .el-button {
    font-size: 12px;
  }
}

// 快速筛选 间距减小
.form_search {
  :deep() {
    .el-form-item {
      margin-bottom: 12px !important;
    }
  }
}

// 100%
.width_100 {
  width: 100% !important;
}

// 100%
.width_50 {
  width: 50% !important;
}

.width_80 {
  width: 80% !important;
}

@media only screen and (max-width: 1440px) {
  .width_50 {
    width: 80% !important;
  }
}

// 更新
.button_update {
  border: 1px solid var(--el-color-primary);
}

// 添加
.button_add {
  color: #0967f4;
}

// 鼠标样式
.pointer {
  cursor: pointer;
}

// 一级标题
.leve_title {
  color: #333;
  font-size: 16px;
  font-weight: 700;
  margin-right: 20px;
}

.mar_bt_12 {
  margin-bottom: 12px;
}

// 二级标题
.leve2_title {
  /* color: #333;
    font-size: 14px;
    font-weight: 600;
    margin-right: 20px;
    font-family: 'PingFang SC', Arial, 'Microsoft YaHei', sans-serif;*/
  font-family: PingFangSC-Regular;
  font-weight: 400;
  font-size: 16px;
  color: #000000d9;
  letter-spacing: 0;
}

// 默认内容
.default_text {
  color: #a9a9a9;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  font-size: 14px;
  margin-right: 20px;
  font-family: "PingFang SC", Arial, "Microsoft YaHei", sans-serif;

  &:last-child {
    margin-right: 0px;
  }
}

// 备注
.remark_text {
  color: #a9a9a9;
  font-size: 15px;
}

// 必传*
.required_text {
  font-size: 12px;
  color: #f56c6c;
  margin-right: 4px;
}

// 注意
.pour_text {
  color: #ffa500;
  font-size: 12px;
  margin-left: 12px;
  line-height: 140%;
}

.ellipsis {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: break-word;
}

// 数量与金额 样式
.numberMoney {
  display: block;
  width: 100%;
  text-align: right;
  padding-right: 14px;
  //display: flex;
  //justify-content: flex-end;
}

.ellipsis_special {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.ellipsis_clamp2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

// 详情信息
.detail-mode {
  display: flex;

  // align-items: center;
  .label {
    display: inline-block;
    width: 122px;
    text-align: right;
    font-size: 14px;
    color: #606266;
    height: 32px;
    // line-height: 32px;
    margin-right: 10px;
    font-family: "PingFang SC", Arial, "Microsoft YaHei", sans-serif;
  }

  .text {
    flex: 1;
    padding: 1px 11px;
    color: #a9a9a9;
    max-height: 48px;
    overflow-y: auto;
    // text-overflow: ellipsis;
    // -webkit-line-clamp: 1;
    // display: -webkit-box;
    // -webkit-box-orient: vertical;
    font-size: 14px;
    font-family: "PingFang SC", Arial, "Microsoft YaHei", sans-serif;
    overflow-wrap: break-word;
  }

  .remark {
    border: 1px solid #a9a9a9;
    border-radius: 2px;
  }
}

.card_header {
  padding: 12px 0px;
}

// 跳轉標簽
.link {
  color: #54a0f4 !important;
  font-size: 14px;
  cursor: pointer;

  &:hover {
    text-decoration: underline;
  }
}

// 预览图片 图片自适应
.previewImg {
  display: block;
  width: 100%;
  width: -moz-available;
  /* WebKit-based browsers will ignore this. */
  width: -webkit-fill-available;
  /* Mozilla-based browsers will ignore this. */
}

.preview_img {
  display: block;
  width: 100%;
  height: 40px;
  cursor: pointer;
}

// 变更记录
.log {
  margin-bottom: 12px;

  span {
    display: inline-block;
    font-size: 12px;
    margin-right: 8px;
  }

  .content {
    flex: 1;
    flex-wrap: wrap;
    text-align: left;
  }

  .title {
    color: #135feb;
    font-size: 12px !important;
    min-width: 80px !important;
    max-width: 100px;
    margin-right: 12px;
    text-align: left;
  }

  .time {
    font-size: 12px;
    margin-right: 16px;
  }

  .text {
    color: #9a9a9a;
    font-size: 12px;
  }
}

// 加密 眼睛
.eye_icon {
  margin-left: 4px;
}

// 基础
.base_color {
  color: var(--el-color-primary);
}

// 备注
.remark {
  display: flex;

  .label {
    display: inline-block;
    width: 122px;
    text-align: right;
    font-size: 14px;
    color: #606266;
    margin-right: 10px;
  }

  .text {
    flex: 1;
    border: 1px solid #c0c0c0;
    color: #a9a9a9;
    border-radius: 4px;
    padding: 0px 10px;
    height: 40px;
    overflow-y: auto;
    overflow-wrap: break-word;
  }
}

/**
    吸顶
  **/
.fixedName {
  position: fixed;
  top: 110px;
  z-index: 1988;
  width: calc(100% - 32px - 234px);

  // 左侧tabs 伸缩
  &.collapse {
    width: calc(100% - 32px - 72px);
  }
}

@media screen and (max-width: 992px) {
  .fixedName {
    position: fixed;
    top: 110px;
    z-index: 1988;
    width: calc(100% - 40px);
  }
}

// 警告
.warn {
  border: 2px dashed var(--el-color-danger);
}

.error {
  display: inline-block;
  width: 100%;
  color: var(--el-color-danger);
  font-size: 12px;
  line-height: 1;
  padding-top: 4px;
  text-align: left;
}

// 查询收起字体的颜色
.sqFontSize {
  margin-left: 12px;
  font-size: 14px;
  cursor: pointer;
  color: var(--el-color-primary);
}

// 加粗文字
.fontStrong {
  font-weight: 600;
  font-size: 13px;
}

/*
  新首页 */
.homeTitile {
  height: 24px;
  font-family: PingFangSC-Medium;
  font-weight: 600;
  font-size: 16px;
  color: #000000d9;
  letter-spacing: 0;
  line-height: 24px;
}

// 滑块
.dotsBox {
  width: 100%;
  height: 48px;
  position: absolute;
  bottom: -40px;
  display: flex;
  align-items: center;
  justify-content: center;

  .dots_pa {
    padding: 4px;
    cursor: pointer;
    margin-right: 4px;

    &:last-child {
      margin-right: 0px;
    }

    &:hover {
      .dots {
        background-color: #fcae84;
      }
    }

    &.active {
      .dots {
        opacity: 0.8;
        background-color: #fcae84;
        width: 24px;
        height: 8px;
        border-radius: 4px;
      }
    }

    .dots {
      background-color: #87919d;
      width: 9px;
      height: 8px;
      border: 0;
      border-radius: 50%;
      outline: none;
      opacity: 0.3;
      transition: all 0.3s;
    }
  }
}

.box_count {
  display: flex;
  align-items: center;
  margin-right: 16px;
  margin-bottom: 12px;

  span {
    color: #f59e2b;
  }
}
